package pnu.ssm.model.stuff;

import pnu.ssm.model.GPosition;
import pnu.ssm.model.tile.TileEnum;

public class Factory extends Stuff{
	private Block holdingBlock; 
	
	public Factory(String name, GPosition pos) {
		super(name, pos,TileEnum.FACTORY);
	}
	public boolean isHoldBlock(){
		return holdingBlock == null;
	}
	
	public Block getHoldingBlock(){
		return holdingBlock;
	}
	
	public void setHoldingBlock(Block b){
		this.holdingBlock = b;
	}

	@Override
	public int getDistance(Stuff otherStuff) {
		return 0;
	}
}
